import { useSelector } from "react-redux";

function World() {
  const count = useSelector((state: any) => state.count);
  return (
    <div>
      <h4>World</h4>
      <p>{count}</p>
    </div>
  );
}

export default World;
